import request from '@/utils/request'
var qs = require('qs')

export function getStatus(params) {
  return request({
    url: '/test/status',
    method: 'post',
    data: qs.stringify(params)
  })
}

export function getPaperList(params) {
  return request({
    url: '/test/page',
    method: 'post',
    data: qs.stringify(params)
  })
}

export function deletePaper(params) {
  return request({
    url: '/test/delete',
    method: 'post',
    data: qs.stringify(params)
  })
}

export function resDetail(params) {
  return request({
    url: '/test/input',
    method: 'post',
    data: qs.stringify(params)
  })
}

export function saveTest(params) {
  return request({
    url: '/test/save',
    method: 'post',
    data: qs.stringify(params)
  })
}

export function upLoad(params) {
  return request({
    url: '/test/excel',
    method: 'post',
    data: qs.stringify(params)
  })
}
